<html>
<head>
<title>Gregphoto_Image Samples</title>
<style>
body {
	font-family: Arial, Verdana, sans-serif;
	font-size: 12px;
}
h3 {
	background: #CCCCCC;
	padding: 5px;
}
a {
	color: #336699;
	font-weight: bold;
}
</style>
</head>
<body>
<h1>Examples of using Gregphoto_Image</h1>
<a href="http://code.google.com/p/gregphotoimage/">Gregphoto_Image on Google Code</a>
<h3>Rendering Images to the Browser</h3>

The following examples show how to render images directly to the browser (i.e. not save them to a file).  Examples are shown 
for each of the resizing types supported:
<ul>
	<li><a href="render_thumbnail/best_fit.php">BEST_FIT</a></li>
	<li><a href="render_thumbnail/max_height.php">MAX_HEIGHT</a></li>
	<li><a href="render_thumbnail/max_width.php">MAX WIDTH</a></li>
	<li><a href="render_thumbnail/exact.php">EXACT</a></li>
</ul>

An example of calling the methods of the class with a fluent interface:
<ul>
	<li><a href="render_thumbnail/fluent.php">Fluent Interface</a></li>
</ul>


An example of a simple gallery page that renders small thumbnails on the fly.  Clicking a small thumbnail will generating a medium
size image to be shown on the bottom of the page.
<ul>
	<li><a href="render_thumbnail/gallery.php">Gallery with Dynamic Images</a></li>
</ul>

<h3>Saving Thumbnails to the Filesystem</h3>
The following example is similar to the earlier gallery example except in this example the thumbnails are saved to the file system
the first time the page is loaded.  All subsequent times the images are loaded from the filesystem.
<ul>
	<li><a href="cache/gallery.php">Gallery with Cached Images</a></li>
</ul>

</body>
</html>